package com.xiaoq.hotel.repository;

import com.xiaoq.hotel.entity.HotelEntity;
import com.xiaoq.vo.PagingVo;

import java.util.List;

public interface IHotelRepository {

    public void saveHotel(HotelEntity hotel);


    public List<HotelEntity> findHotel(String cityCode);

    public List<HotelEntity> findHotel(String cityCode,String recommend);

    public HotelEntity findHotelDetail(String id);

    public List<HotelEntity> findShopFoodList(Double longitude, Double latitude, Double localLongitude, Double localLatitude, PagingVo pvo);


    public List<HotelEntity> fuzzyByName(String name,String cityCode, PagingVo pagingVo);

    public void delete(String id);
    public List<HotelEntity> findHotel(String cityCode,String delTag,PagingVo pvo);
}
